rem ###############################################################################
rem Company: fpgaPublish
rem Engineer: f
rem 
rem Create Date: 2023/11/05 23:32:19
rem Design Name: hello_world
rem Module Name: 
rem Project Name: 
rem Target Devices: 
rem Tool Versions: 
rem Description: 
rem 
rem Dependencies: 
rem  
rem Revision: 
rem Revision 0.01 - File Created 
rem Additional Comments:
rem 
rem ###############################################################################

rem change encoding to UTF - 8
chcp 65001

rem hello world
echo hello world %date:~3,10% %time:~0,5% >> hello_word.txt

rem get script path
set pns_own=%0
set p_own=%~dp0%
set n_own=%~n0%
set s_own=%~x0%

set p_workpath=%p_own%
set pns_workpath=%p_own%%n_own%.m 
octave --quiet --persist --path %p_workpath:\=/%  %pns_workpath:\=/%

exit 